<?php
Route::group(['namespace'=>'App\Admin\Controllers','middleware' => 'web','prefix'=>'admin'],function(){

    Route::get('login/login','LoginController@login');
    Route::post('login/dologin','LoginController@dologin');

});

Route::group(['namespace'=>'App\Admin\Controllers','middleware' => 'LoginVerify','prefix'=>'admin'],function(){

    Route::get('home/index','IndexController@index');
    Route::post('home/statistical_response','IndexController@statistical_response');
    Route::get('data/monthly','IndexController@monthlyStatistic');
    Route::post('home/monthly_statistical_response','IndexController@monthlyDataResponse');
    Route::get('cash/get_withdraw_list','CashController@getWithDrawList');
    Route::get('cash/withDrawList','CashController@withDrawList');
    Route::post('cash/pay_withdraw','CashController@checkWithdraw');
    Route::get('cash/test2','CashController@my_test');
});

